package cn.edu.guet.gythtglxt.service.index.impl;

import cn.edu.guet.gythtglxt.entity.tb_natmeha_hotspot;
import cn.edu.guet.gythtglxt.mapper.IndexMapper;
import cn.edu.guet.gythtglxt.service.index.IndexServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *create by hzg
 * 用于主页的业务
 */
@Service
public class IndexServicesImpl implements IndexServices {
    @Autowired
    IndexMapper indexMapper;

    @Override
    public List<tb_natmeha_hotspot> selectHotSpotList(int index, int num) {
        return indexMapper.selectHotSpotList(index,num);
    }
}
